
import router from "./index"
export function regRou (to) {
  return router.getRoutes().some(item => item.name === to.name)
}